package edu.scau.cxq.gp.mapper;

import edu.scau.cxq.gp.entity.InventoryAlert;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.scau.cxq.gp.entity.vo.InventoryAlertVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description 预警VO
 * @return
 * @author TLC
 */

public interface InventoryAlertMapper extends BaseMapper<InventoryAlert> {

    /**
     * 获取所有库存预警VO
     * @param goodsId
     * @param wareId
     * @return
     */
    List<InventoryAlertVO> selectInventoryAlertVOList(@Param("goodsId") Long goodsId, @Param("wareId") Long wareId);
}
